<template>
  <div>
    <p>作用域1</p>
    <slot :age="age"></slot>
    <p>作用域2</p>
  </div>
</template>

<script>
export default {
  data() {
    return {
      age: 1000,
    };
  },
};
</script>
